package org.example.meetingsystem.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;

public enum CancellationStatus {
    PENDING("PENDING", "待处理"),
    APPROVED("APPROVED", "已批准"),
    REJECTED("REJECTED", "已拒绝");

    @EnumValue
    private final String code;

    private final String description;

    CancellationStatus(String code, String description) {
        this.code = code;
        this.description = description;
    }

    public String getCode() {
        return code;
    }

    public String getDescription() {
        return description;
    }
}
